package com.tran.demo.model;

public class User {
	
	private String name ;
	private String addr;
	private int id;
	
	public User() {};
	
	public User(String name,String addr , int id) {
		
		this.name = name ;
		this.addr = addr ; 
		this.id = id ;
		
	}
	
	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getAddr() {
		return addr;
	}


	public void setAddr(String addr) {
		this.addr = addr;
	}



	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	@Override
	public String toString() {
		return "UserModel [name=" + name + ", addr=" + addr + ", id=" + id + "]";
	}
	
}
